package com.ruoyi.web.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.PolicyCrawlArticle;
import com.ruoyi.web.domain.dto.PolicyCrawlArticleDto;
import com.ruoyi.web.domain.vo.PolicyCrawlArticleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PolicyCrawlArticleMapper extends BaseMapper<PolicyCrawlArticle> {

    List<PolicyCrawlArticleVo> selectPolicyCrawlArticlePage(@Param("policyCrawlArticleDto") PolicyCrawlArticleDto policyCrawlArticleDto);

    PolicyCrawlArticleVo selectPolicyCrawlArticleById(@Param("baseId") String baseId);
}